package cn.com.taiji.oospub.wechat.mapper;

import cn.com.taiji.oospub.wechat.entity.Snsuserinfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yzd
 * @since 2020-10-28
 */
public interface SnsuserinfoMapper extends BaseMapper<Snsuserinfo> {

    @Select("select s.* from snsuserinfo s where s.#{openId}= #{name}")
    Snsuserinfo findByProperty(String openId, String openId1);
}
